import http from "@/api";

/**
 * @name 地址管理模块
 */
// * 地址列表
export const listClientAddress = (params: any) => {
	return http.post(`listClientAddress`, params);
};
// * 地址添加
export const createClientAddress = (params: any) => {
	return http.post(`createClientAddress`, params);
};
// * 地址编辑
export const updateClientAddress = (params: any) => {
	return http.post(`updateClientAddress`, params);
};
// * 客户列表无分页
export const listClientNo = (params: any) => {
	return http.post(`listClientNo`, params);
};
// * 客户查地址
export const getClientAddress = (params: any) => {
	return http.post(`getClientAddress`, params);
};
// * 删除地址
export const delClientAddress = (params: any) => {
	return http.post(`delClientAddress`, params);
};
// * 设置默认地址
export const setClientAddress = (params: any) => {
	return http.post(`setClientAddress`, params);
};
// * 批量上传地址
export const importCustomerAddress = (params: any) => {
	return http.post(`importCustomerAddress`, params);
};
